﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" ViewStateMode="Disabled" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
            var tp = 0;
            $("#up").click(function (e) {
                e.preventDefault();
                $("div.late_box_block").animate({ scrollTop: 0 }, 'fast'); tp = 0;
            });
            $("#down").click(function (e) {
                e.preventDefault();
                $("div.late_box_block").animate({ scrollTop: tp + $('div.late_box_block').position().top }, 'slow');
                tp += $('div.late_box_block').position().top;
            });
            //$("#autostart").fancybox({//    'overlayShow': true,//    frameWidth: 838,//    frameHeight: 540//}).trigger('click');
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <tr>
        <td>
            <asp:Literal ID="Scriptt" runat="server" />
            <div class="search_big">
                <asp:TextBox ID="SearchText" runat="server" type="text" name="text" Style="color: #A8A8A8;"
                    value="კომპანიის სახელი..." CssClass="search_inside srchchg" onclick="if(this.value=='კომპანიის სახელი...') this.value='';"
                    onblur="if(this.value=='') this.value='კომპანიის სახელი...'"></asp:TextBox>
                <asp:Button ID="SearchID" runat="server" CssClass="bigsearch_button" OnClick="OnSearch" />
            </div>
            <div id="main_div" class="main_page">
                <div class="latest_news_top">
                    <div class="title_block">
                        <div class="latest_news_left">
                        </div>
                        <div class="title_news">
                            <a href="#">ბოლო განხილვები</a></div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="late_box_block">
                        <asp:Repeater ID="LatestReview" runat="server" OnItemDataBound="LatestReview_DataBound">
                            <ItemTemplate>
                                <asp:Literal ID="LatestReviewItem" runat="server" />
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                    <div class="clear">
                    </div>
                    <div class="scroll">
                        <a id="up" class="up" href="#">ზევით</a> <a id="down" class="down" href="#">ქვევით</a>
                    </div>
                </div>
                <div class="latest_news_right">
                    <div class="icon_member">
                    </div>
                    <div class="title_news">
                        <a href="#">ახალი კომპანიები</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
                            href="NewCompany.aspx" style="font-size: 11px; color: Red; text-decoration: underline">დაამატე
                            კომპანია</a></div>
                    <%--  <div class="clear">
                        <a href="#">აფიშები</a>&nbsp;&nbsp;<a href="Posters.aspx" style="font-size: 11px;
                            padding-left: 200px; color: Red; text-decoration: underline">სრული სია</a></div>--%>
                    <div class="clear">
                    </div>
                    <%-- <div class="newcompany_link">
                        <a href="#">ახალი კომპანიები</a></div>
                    <div class="clear">
                    </div>  --%>
                    <asp:Repeater ID="NewCompanyRepeater" runat="server" OnItemDataBound="NewCompanies_DataBound">
                        <ItemTemplate>
                            <asp:Literal ID="NewCompanyItem" runat="server" />
                        </ItemTemplate>
                    </asp:Repeater>
                    <%--<div class="late_box_block">
                    <asp:Repeater ID="NewPosterRepeater" runat="server" OnItemDataBound="NewPosters_DataBound">
                        <ItemTemplate>
                            <asp:Literal ID="NewPosterItem" runat="server" />
                        </ItemTemplate>
                    </asp:Repeater>
                </div>--%>
                </div>
            </div>
            <div class="mainpage_cont">
                <div class="top_grey">
                </div>
                <div class="main_boxes">
                    <div class="top_member">
                        <div class="icon_member">
                        </div>
                        <div class="title_news">
                            <a href="#">აქტიური წევრები</a></div>
                        <div class="clear">
                        </div>
                        <asp:Repeater ID="TopMemberRepeater" runat="server" OnItemDataBound="TopMembers_DataBound">
                            <ItemTemplate>
                                <asp:Literal ID="TopMemberItem" runat="server" />
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                    <div class="top_company">
                        <div class="icon_company">
                        </div>
                        <div class="title_news">
                            <a href="#">ტოპ კომპანიები</a></div>
                        <div class="clear">
                        </div>
                        <asp:Literal ID="TopCompaniesItemfirst" runat="server" />
                        <asp:Literal ID="TopCompaniesItemSecond" runat="server" />
                    </div>
                </div>
            </div>
            <asp:Literal ID="Literal1" runat="server" />
        </td>
    </tr>
</asp:Content>
